package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.mbc.rmt.data.BranchCashTransactionDataList;
import com.mbc.rmt.entities.BranchCashTransaction;
import com.mbc.rmt.entities.BranchCashTransactionRpt;

public interface BranchCashTransactionDAO {
	
	public void create(BranchCashTransaction entity) throws SQLException;
	
	public void update(BranchCashTransaction entity) throws SQLException;
	
	public void delete(long key) throws SQLException;
	
	public void delete(BranchCashTransaction entity) throws SQLException;

	public BranchCashTransaction find(long key) throws SQLException;
	
	public BranchCashTransactionDataList findBranchCashTranDataList(BranchCashTransaction cri)
			throws SQLException;
	
	public BranchCashTransaction getBranchCashTransaction(BranchCashTransaction entity)throws SQLException;
	
	public BranchCashTransaction findByCode(String code, long branchId)throws SQLException;
	
	ResultSet prepareBranchCashTransactionReport(BranchCashTransactionRpt info)throws SQLException;
}
